package cur.nature.admin.model.vo;

import cur.nature.framework.mvc.base.BaseVO;
import cur.nature.framework.mvc.http.RequestObject;
import cur.nature.framework.mvc.http.ResponseObject;
import cur.nature.framework.mvc.tree.TreeNode;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 用户角色 VO
 * 作者：Auto Generate By wujian
 * 生成日期：2023-07-11 20:11:28
 */
@Data
@Schema(description = "用户角色 模型", name = "Admin_RoleVO")
public class Admin_RoleVO extends BaseVO {

    @Schema(description = "角色代码")
    private String code;

    @Schema(description = "父类主键")
    private String parentId;

    @Schema(description = " 角色名称")
    private String name;

    @Schema(description = "状态: 0-停用，1-启用")
    private Integer state;

    @Schema(description = "描述")
    private String descript;

    @Schema(description = "修改用户")
    private String modifyUser;

    @Schema(description = "修改日期")
    private Date modifyDate;

    @Schema(description = "资源列表")
    private List<String> resId;

    @Data
    @Schema(description = "列表查询参数", name = "Admin_RoleVO.list_Param")
    public static class list_Param extends RequestObject {
        @Schema(description = "关键字")
        private String keyword;
        private String roleId;
        private String nodeText;
    }

    @Data
    @Schema(description = "列表查询参数", name = "Admin_RoleVO.list_Result")
    public static class list_Result {
        @Schema(description = "树数据")
        private TreeNode treeNode;
        private List<String> checkNodeIdList;
        private List<String> expandNodeIdList;
    }
}

